package com.liveinstars.api.demo.model;

import com.alibaba.fastjson.JSON;

/**
 * Created by guoyanjiang on 2018-11-28.
 */
public class HelloReq {

    private String name;

    private Integer value;

    private String other;

    public HelloReq() {
    }

    public HelloReq(String name, Integer value, String other) {
        this.name = name;
        this.value = value;
        this.other = other;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    public String getOther() {
        return other;
    }

    public void setOther(String other) {
        this.other = other;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }

    public static HelloReq mock(){
        return new HelloReq("name", 1, "other");
    }
}
